﻿namespace FlexPlatform.Shared.Events
{
    public class CancellableEventArgs : EventArgsBase, ICancellableEventArgs
    {
        private bool clsCancellRequested;

        public CancellableEventArgs(object sender):base(sender)
        {
        }

        public void RequestToCancel()
        {
            clsCancellRequested = true;
        }

        public  bool CancelRequested
        {
            get { return clsCancellRequested; }
        }
    }
}
